package UI;

import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JPanel;

import controller.IButtons;

/**
 * @date Apr. 28, 2012
 * @author Francsico J. Martínez
 * A view for top buttons commons actions
 */
public class ButtonsUI extends JPanel{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 201204280930L;
	
	private JButton mValidateAgainstSchema;
	private JButton mValidateAgainstSyntax;
	private FlowLayout layout;
	
	private IButtons controller;
	
	public ButtonsUI(){
		mValidateAgainstSchema = new JButton("Validate Schema");

		layout = new FlowLayout();
		layout.setAlignment(FlowLayout.TRAILING);
		this.setLayout(layout);
		
		add(mValidateAgainstSchema);		
	}
	
}
